<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>购物商城登录页面</title>
    <!-- Bootstrap core CSS -->
    <link href="/asserts/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/asserts/css/signin.css" rel="stylesheet">
</head>

<body class="text-center"
      background="/asserts/img/index_background.jpg"
      style=" background-repeat:no-repeat ;
background-size:100% 100%;
-moz-background-size:100% 100%;">
<form class="form-signin" action="login">
    <img class="mb-4" src="/asserts/img/京东阿里.jpg" alt="" width="150" height="100">
    <h1 class="h3 mb-3 font-weight-normal" th:text="#{login.tip}">Please sign in</h1>

    <input type="text" class="form-control" placeholder="账号" th:placeholder="#{login.username}" required="" autofocus="" name="账号">

    <input type="password" class="form-control" placeholder="密码" th:placeholder="#{login.pwd}"  required="" name="密码">
    <div class="checkbox mb-3">

        <label>
            <a href="隐私协议.html" th:text="#{login.privacy}" style="font-size:15px">个人隐私协议说明</a><br/>
            <input type="radio" required="" name="同意" value="1" />[[#{login.agree}]]
            <input type="radio" required="" name="同意" value="" />[[#{login.disagree}]]
            <input type="hidden" name="同意" value="0"/>
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit" th:text="#{login.signin}">登录</button>
    <a th:text="#{login.notReg}"></a><br/>
    <a href="Register" th:text="#{login.notReg2}" >还没有注册？点击跳转至注册页面</a>
    <p class="mt-5 mb-3 text-muted">© 2020</p>
    <a class="btn btn-sm" th:href="@{/log(l='zh_CN')}">中文</a>
    <a class="btn btn-sm" th:href="@{/log(l='en_US')}">English</a>
</form>
</body>

</html>